[INFO] cloning repository https://github.com/chainyo/api-embeddings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chainyo/api-embeddings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchainyo%2Fapi-embeddings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchainyo%2Fapi-embeddings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29d4983d5be3acab0b2cc84a131be1e5e752a0cd
[INFO] checking chainyo/api-embeddings against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchainyo%2Fapi-embeddings" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chainyo/api-embeddings
[INFO] finished tweaking git repo https://github.com/chainyo/api-embeddings
[INFO] tweaked toml for git repo https://github.com/chainyo/api-embeddings written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chainyo/api-embeddings on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chainyo/api-embeddings already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a132bb2f79b44eb4aea18c1faed4d970a9081bfc5dcf496fba5775a56c2c073
[INFO] running `Command { std: "docker" "start" "-a" "2a132bb2f79b44eb4aea18c1faed4d970a9081bfc5dcf496fba5775a56c2c073", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a132bb2f79b44eb4aea18c1faed4d970a9081bfc5dcf496fba5775a56c2c073", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a132bb2f79b44eb4aea18c1faed4d970a9081bfc5dcf496fba5775a56c2c073", kill_on_drop: false }`
[INFO] [stdout] 2a132bb2f79b44eb4aea18c1faed4d970a9081bfc5dcf496fba5775a56c2c073
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81204999904b80e6aac97153cd115c2f502d5981de4008f7cb20547058054108
[INFO] running `Command { std: "docker" "start" "-a" "81204999904b80e6aac97153cd115c2f502d5981de4008f7cb20547058054108", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling seq-macro v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking rustls-pki-types v1.3.1
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling rustls v0.22.2
[INFO] [stderr]    Compiling async-trait v0.1.78
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking indicatif v0.17.8
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking webpki-roots v0.26.1
[INFO] [stderr]    Compiling axum v0.7.4
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking macro_rules_attribute v0.2.0
[INFO] [stderr]     Checking memmap2 v0.9.4
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking rayon-cond v0.3.0
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]     Checking rustls-webpki v0.102.2
[INFO] [stderr]     Checking onig v6.4.0
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.3
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling monostate-impl v0.1.11
[INFO] [stderr]    Compiling yoke-derive v0.7.3
[INFO] [stderr]    Compiling clap_derive v4.5.3
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking num-complex v0.4.5
[INFO] [stderr]     Checking half v2.4.0
[INFO] [stderr]     Checking dyn-stack v0.10.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking zerofrom v0.1.3
[INFO] [stderr]     Checking yoke v0.7.3
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]     Checking pulp v0.18.9
[INFO] [stderr]     Checking derive_builder v0.12.0
[INFO] [stderr]     Checking clap v4.5.3
[INFO] [stderr]     Checking gemm-common v0.17.1
[INFO] [stderr]     Checking gemm-f32 v0.17.1
[INFO] [stderr]     Checking gemm-c32 v0.17.1
[INFO] [stderr]     Checking gemm-f64 v0.17.1
[INFO] [stderr]     Checking gemm-c64 v0.17.1
[INFO] [stderr]     Checking gemm-f16 v0.17.1
[INFO] [stderr]     Checking gemm v0.17.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.4.3
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking monostate v0.1.11
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking ureq v2.9.6
[INFO] [stderr]     Checking safetensors v0.4.2
[INFO] [stderr]     Checking tokenizers v0.15.2
[INFO] [stderr]     Checking candle-core v0.4.2 (https://github.com/huggingface/candle.git#ce9fbc36)
[INFO] [stderr]     Checking hf-hub v0.3.2
[INFO] [stderr]     Checking hyper v1.2.0
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking api-embeddings v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_transformers`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use candle_transformers::models::jina_bert::{BertModel, Config};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_transformers`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `candle_transformers`, use `cargo add candle_transformers` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::Error as E;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `candle`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candle::{DType, Module, Tensor};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `candle`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `candle`, use `cargo add candle` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use tracing_subscriber::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `candle_nn`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use candle_nn::VarBuilder;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `candle_nn`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `candle_nn`, use `cargo add candle_nn` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tracing_chrome`
[INFO] [stdout]   --> src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use tracing_chrome::ChromeLayerBuilder;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_chrome`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tracing_chrome`, use `cargo add tracing_chrome` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_transformers`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use candle_transformers::models::jina_bert::{BertModel, Config};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_transformers`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `candle_transformers`, use `cargo add candle_transformers` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::Error as E;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `candle`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candle::{DType, Module, Tensor};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `candle`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `candle`, use `cargo add candle` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use tracing_subscriber::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `candle_nn`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use candle_nn::VarBuilder;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `candle_nn`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `candle_nn`, use `cargo add candle_nn` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tracing_chrome`
[INFO] [stdout]   --> src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use tracing_chrome::ChromeLayerBuilder;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_chrome`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tracing_chrome`, use `cargo add tracing_chrome` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/main.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 9  | fn build_model_and_tokenizer() -> anyhow::Result<(BertModel, tokenizers::Tokenizer)> {
[INFO] [stdout]    |    ------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 23 |     let device = candle_examples::device(self.cpu)?;
[INFO] [stdout]    |                                          ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Args`
[INFO] [stdout]   --> src/main.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let args = Args::parse();
[INFO] [stdout]    |                ^^^^ use of undeclared type `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::Args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/main.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 9  | fn build_model_and_tokenizer() -> anyhow::Result<(BertModel, tokenizers::Tokenizer)> {
[INFO] [stdout]    |    ------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 23 |     let device = candle_examples::device(self.cpu)?;
[INFO] [stdout]    |                                          ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Args`
[INFO] [stdout]   --> src/main.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let args = Args::parse();
[INFO] [stdout]    |                ^^^^ use of undeclared type `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::Args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_examples`
[INFO] [stdout]   --> src/main.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let device = candle_examples::device(self.cpu)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_examples`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `candle_examples`, use `cargo add candle_examples` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_examples`
[INFO] [stdout]   --> src/main.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let device = candle_examples::device(self.cpu)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_examples`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `candle_examples`, use `cargo add candle_examples` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         tracing_subscriber::registry().with(chrome_layer).init();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         tracing_subscriber::registry().with(chrome_layer).init();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]  --> src/main.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn build_model_and_tokenizer() -> anyhow::Result<(BertModel, tokenizers::Tokenizer)> {
[INFO] [stdout]   |                                   ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle`
[INFO] [stdout]    --> src/main.rs:135:36
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn normalize_l2(v: &Tensor) -> candle::Result<Tensor> {
[INFO] [stdout]     |                                    ^^^^^^ use of unresolved module or unlinked crate `candle`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `candle`, use `cargo add candle` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/main.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() -> anyhow::Result<()> {
[INFO] [stdout]    |              ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle`
[INFO] [stdout]   --> src/main.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |             .collect::<candle::Result<Vec<_>>>()?;
[INFO] [stdout]    |                        ^^^^^^ use of unresolved module or unlinked crate `candle`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `candle`, use `cargo add candle` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]  --> src/main.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn build_model_and_tokenizer() -> anyhow::Result<(BertModel, tokenizers::Tokenizer)> {
[INFO] [stdout]   |                                   ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle`
[INFO] [stdout]    --> src/main.rs:135:36
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn normalize_l2(v: &Tensor) -> candle::Result<Tensor> {
[INFO] [stdout]     |                                    ^^^^^^ use of unresolved module or unlinked crate `candle`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `candle`, use `cargo add candle` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/main.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() -> anyhow::Result<()> {
[INFO] [stdout]    |              ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle`
[INFO] [stdout]   --> src/main.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |             .collect::<candle::Result<Vec<_>>>()?;
[INFO] [stdout]    |                        ^^^^^^ use of unresolved module or unlinked crate `candle`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `candle`, use `cargo add candle` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api-embeddings` (bin "api-embeddings") due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `api-embeddings` (bin "api-embeddings" test) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "81204999904b80e6aac97153cd115c2f502d5981de4008f7cb20547058054108", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81204999904b80e6aac97153cd115c2f502d5981de4008f7cb20547058054108", kill_on_drop: false }`
[INFO] [stdout] 81204999904b80e6aac97153cd115c2f502d5981de4008f7cb20547058054108
